Builder

constructor(attributeId: String, lockAttribute: Boolean = false)


constructor(attributeId: Identifier, lockAttribute: Boolean = false)

Parameters

attributeId

Identifier - the registry ID for the default EntityAttribute. This can't be the attribute itself, as it will be serialized, potentially before the registry is built.

lockAttribute

Boolean - If true, the user won't be able to change the stored Attribute value